<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="ex" uri="http://ex.com"%> 
<%@ taglib prefix="p" tagdir="/WEB-INF/tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>组织</title>
<script src="${rootURL}js/vform.js"></script>
<script type="text/javascript">
function onSubmit(e){
	var form = $(e).parents("form");
	form.vform("${rootURL}youth.html");
}
</script>
</head>
<body>
	<div  id="row-1-content">
		<div class="search-box">
			<form action="" method="get" id="search">
			<label>名称</label>&nbsp;&nbsp;<input name="name" class="encode" type="text" value="${ex:URLDecoder(param.name,'UTF-8')}"/> 
			<a href="javascript:void(0)" onclick="javascript:onSubmit(this)">&nbsp;&nbsp;&nbsp;
				<img src="${rootURL}img/js-9.jpg" width="80" height="25" border="0">
			</a>
			</form>
		</div>
		<table width="100%" border="0" cellspacing="1" cellpadding="0"
			class="word-35 jg-div-10" bgcolor="#c8e3ff">
			<tbody>
				<tr>
					<td width="6%" height="30" align="center" valign="middle"
						bgcolor="#EDF7FD"><strong>序号 </strong></td>
					<td width="20%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>组织名称
					</strong></td>
					<td width="11%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>登记证号</strong></td>
					<td width="11%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>统一社会信用代码</strong></td>
					<td width="18%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>住所</strong></td>
					<td width="13%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>业务主管单位</strong></td>
					<td width="11%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>法定代表人</strong></td>
					<td width="10%" align="center" valign="middle" bgcolor="#EDF7FD"><strong>批准时间</strong></td>
				</tr>
				<c:forEach items="${page.list}" var="o">
					<tr style="background-color:#FFFFFF">
						<td height="30" align="center" valign="middle">${o.id}</td>
						<td align="center" valign="middle">${o.name}</td>
						<td align="center" valign="middle">${o.registrId}</td>
						<td align="center" valign="middle"></td>
						<td align="center" valign="middle">${o.address}</td>
						<td align="center" valign="middle">${o.organization}</td>
						<td align="center" valign="middle">${o.legalPerson}</td>
						<td align="center" valign="middle"><fmt:formatDate value="${o.approveTime}" pattern="yyyy-MM-dd HH:mm:ss" /></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<p:page pageNum="${page.pageNum}" total="${page.total}" url="${rootURL}youth.html?pageNum=%s" data="{name:'${param.name}'}"></p:page>
	</div>
	<div  id="row-2-content">
		<%@include file="login.jsp"%>
	</div>
</body>
</html>